package com.model.xmlElement.output;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * *********************************************
 * 
 * @author Administrator
 * @FileName DataBase.java
 * @Description 数据库实体
 ********************************************** 
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class DataBase implements Serializable {
	public static final Logger LOG = LoggerFactory.getLogger(DataBase.class);
	private static final long serialVersionUID = 1L;

	@XmlElement(name = "database_name")
	private String dataBaseName; // 数据库名
	@XmlElement(name = "database_tablename")
	private String dataBaseTableName; // 数据库表
	@XmlElement(name = "database_url")
	private String dataBaseUrl; // 数据库地址
	@XmlElement(name = "database_username")
	private String dataBaseUserName; // 数据库用户名
	@XmlElement(name = "database_password")
	private String dataBasePassword; // 数据库密码

	public String getDataBaseTableName() {
		return dataBaseTableName;
	}

	public void setDataBaseTableName(String dataBaseTableName) {
		this.dataBaseTableName = dataBaseTableName;
	}

	public String getDataBaseName() {
		return dataBaseName;
	}

	public void setDataBaseName(String dataBaseName) {
		this.dataBaseName = dataBaseName;
	}

	public String getDataBaseUrl() {
		return dataBaseUrl;
	}

	public void setDataBaseUrl(String dataBaseUrl) {
		this.dataBaseUrl = dataBaseUrl;
	}

	public String getDataBaseUserName() {
		return dataBaseUserName;
	}

	public void setDataBaseUserName(String dataBaseUserName) {
		this.dataBaseUserName = dataBaseUserName;
	}

	public String getDataBasePassword() {
		return dataBasePassword;
	}

	public void setDataBasePassword(String dataBasePassword) {
		this.dataBasePassword = dataBasePassword;
	}

	public DataBase() {
		super();
	}

	public DataBase(String dataBaseName, String dataBaseUrl,
			String dataBaseUserName, String dataBasePassword) {
		super();
		this.dataBaseName = dataBaseName;
		this.dataBaseUrl = dataBaseUrl;
		this.dataBaseUserName = dataBaseUserName;
		this.dataBasePassword = dataBasePassword;
	}

	public DataBase(String dataBaseName, String dataBaseTableName,
			String dataBaseUrl, String dataBaseUserName, String dataBasePassword) {
		super();
		this.dataBaseName = dataBaseName;
		this.dataBaseTableName = dataBaseTableName;
		this.dataBaseUrl = dataBaseUrl;
		this.dataBaseUserName = dataBaseUserName;
		this.dataBasePassword = dataBasePassword;
	}

}
